package api

import (
	"app/wd"

	"github.com/gin-gonic/gin"
)

// RegisterAPI 注册首页路由
func registerIndex(r *gin.Engine) {
	r.GET("/", func(c *gin.Context) {
		data := map[string]interface{}{
			"message": "welcome",
		}
		wd.Success(c, data)
	})
}
